#ifndef INPUTMAPPINGDIALOG_H
#define INPUTMAPPINGDIALOG_H

#include <QDialog>
#include "InputTypes.h"
#include "InputMapping.h"
#include "InputMapTab.h"

namespace Ui
{
  class Form;
}

class InputMappingDialog : public QDialog
{
  Q_OBJECT

public:
  virtual ~InputMappingDialog();

  InputMapping* inputMapping(unsigned int inputNumber) const;
  InputVector inputMappings() const;

  static InputVector remapInputs(const InputVector& defaultMappings);

public slots:
  void okButton();
  void cancelButton();

private:
  InputMappingDialog(QWidget* parent = 0, const InputVector& defaultMappings = InputVector());

  Ui::Form* mUI;
};

#endif
